package com.gugee.common.web.system.product.repository;




import com.gugee.common.web.system.product.model.Product;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductRepository extends CrudRepository<Product,Long> {

    List<Product> findByEnableAndTypeOrderByLevel(boolean enable,String type);
}
